package com.abcdefg.springboot.ymldemo.controller;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Repository;

import java.util.HashMap;

@Repository
@ConfigurationProperties("maptypes")
@Data
public class MapDemo {
    private HashMap<String,String> map;
}
